package com.ruoyi.applet.mapper;

import com.ruoyi.applet.domain.AppletImg;

import java.util.List;

/**
 * appletImgMapper接口
 *
 * @author PENGFEIDENG
 * @date 2022-05-30
 */
public interface AppletImgMapper {
    /**
     * 查询appletImg
     *
     * @param imgId appletImg主键
     * @return appletImg
     */
    AppletImg selectAppletImgByImgId(Long imgId);

    /**
     * 查询appletImg列表
     *
     * @param appletImg appletImg
     * @return appletImg集合
     */
    List<AppletImg> selectAppletImgList(AppletImg appletImg);

    /**
     * 新增appletImg
     *
     * @param appletImg appletImg
     * @return 结果
     */
    int insertAppletImg(AppletImg appletImg);

    /**
     * 修改appletImg
     *
     * @param appletImg appletImg
     * @return 结果
     */
    int updateAppletImg(AppletImg appletImg);

    /**
     * 删除appletImg
     *
     * @param imgId appletImg主键
     * @return 结果
     */
    int deleteAppletImgByImgId(Long imgId);

    /**
     * 批量删除appletImg
     *
     * @param imgIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteAppletImgByImgIds(Long[] imgIds);
}
